package tree;

public class ZuiJinGongGongZuXian {

    public static void main(String[] args) {
        Node root = new Node(1);
        root.left=new Node(2);
        root.right=new Node(3);
        root.left.left=new Node(4);
        root.left.right=new Node(5);
        root.right.left=new Node(6);
        root.right.right=new Node(7);

        Node n = zuiJinGongGongZuXian(root,root.left.left,root.right.left);
        System.out.println(n.value);

    }

    private static Node zuiJinGongGongZuXian(Node root,Node p,Node q){
return null;
    }


    /*二叉树的节点类*/
    static class Node{
        int value;
        Node left;
        Node right;
        Node(int value){
            this.value = value;
        }
    }
}
